#ifndef TESTING_H
#define TESTING_H

#include <iostream>

#include <QImage>
#include <QtGui/QApplication>
#include <qfileinfo.h>

#include "mainwindow.h"

class Testing
{
    public:

        QString lastLoadPath;
        QString lastSavePath;

        QImage* image;

        Testing();
        ~Testing();

        /**
          * Saves the QImage image object under filename specified by path. If
          * path is not specified, than a default name consisting of image name
          * (imagePathSave) and the current counter value is used.
          *
          * @param img QImage object to be saved.
          * @param path Path under which to save the image.
          */
        int save(QString path = "");

        /**
          *
          */
        int load(QString path);

        int showImage(/*int argc, char** argv*/);

        /**
          * Default function
          */
        int process();

        void endProgram();

        /*
                TU DEFINIUJEMY WLASNE FUNKCJE TESTOWE
        */

        int blur();


    private:
        int counter;

};

#endif // TESTING_H
